package com.show.dto;

/**
 * 公共实体类
 *
 * @author liukai
 */
public class Tree {

    /**
     * 编码
     */
    private String id;


    /**
     * 父级编码
     */
    private String pId;

    /**
     * 名称
     */
    private String name;


    /**
     * 节点状态
     */
    private String open;

    private String hasCheck;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open;
    }

    public String getHasCheck() {
        return hasCheck;
    }

    public void setHasCheck(String hasCheck) {
        this.hasCheck = hasCheck;
    }

    @Override
    public String toString() {
        return "Tree{" +
                "id='" + id + '\'' +
                ", pId='" + pId + '\'' +
                ", name='" + name + '\'' +
                ", open='" + open + '\'' +
                ", hasCheck='" + hasCheck + '\'' +
                '}';
    }
}
